<h3>Đăng tin mới</h3>
<hr />

<script type="text/javascript">
if (document.location.protocol == 'file:') {
	alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
}
</script>
<?php echo validation_errors() ?>
<div style="padding-left: 60px; margin-top: 50px">
<?php echo form_open('news/create')?>
	<label for = "title">Tiêu đề tin</label>
	<input type="text" name="title" size="100" /><br />
	<p>
	<lable for= "text">Nội dung tin</lable><p>	

	<textarea name="text" id="content" ></textarea>
		<?php echo display_ckeditor($editor); ?>
	</textarea>
	<input type="submit" name="submit" value="Đăng tin" />
	<input type="reset" name="reset" value="Xóa trắng" />
</form>
</div>